#ifndef SALONINCOME_H
#define SALONINCOME_H

#include <QStandardItemModel>
#include <QProgressDialog>
#include <QString>
#include <QDate>

class SalonIncome
{
private:
    int id;
    double cash;
    double credit;
    double total;
    double cashRate;
    double gift_out;
    double gift_in;
    QString note;
    QDate createdAt;
    QDate modifiedAt;
public:
    SalonIncome();
    const static int ID_COL ;
    const static int CASH_COL ;
    const static int CREDIT_COL ;
    const static int TOTAL_COL ;
    const static int GIFT_CARD_IN ;
    const static int GIFT_CARD_OUT ;
    const static int CREATEDDATE_COL;
    const static int MODIFIEDDATE_COL ;
    int getId() const;
    void setId(int value);
    double getCash() const;
    void setCash(double value);
    double getCredit() const;
    void setCredit(double value);
    double getTotal() const;
    void setTotal(double value);
    double getCashRate() const;
    void setCashRate(double value);
    double getGift_out() const;
    void setGift_out(double value);
    double getGift_in() const;
    void setGift_in(double value);
};

#endif // SALONINCOME_H
